package com.cn.hnust.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.cn.hnust.dao.ILfdlifashiDao;
import com.cn.hnust.pojo.Lfdlifashi;
import com.cn.hnust.service.ILfdlifashiService;

@Service(value = "LfdlifashiService")
public class LfdlifashiServiceImpl implements ILfdlifashiService {

    @Resource
    private ILfdlifashiDao LfdlifashiMapper;

	@Override
	public int deleteByPrimaryKey(Integer id) {
		// TODO Auto-generated method stub
		return this.LfdlifashiMapper.deleteByPrimaryKey(id);
	}

	@Override
	public int insert(Lfdlifashi record) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int insertSelective(Lfdlifashi record) {
		// TODO Auto-generated method stub
		return this.LfdlifashiMapper.insertSelective(record);
	}

	@Override
	public Lfdlifashi selectByPrimaryKey(Integer id) {
		// TODO Auto-generated method stub
		return this.LfdlifashiMapper.selectByPrimaryKey(id);
	}

	@Override
	public int updateByPrimaryKeySelective(Lfdlifashi record) {
		// TODO Auto-generated method stub
		return this.LfdlifashiMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public int updateByPrimaryKey(Lfdlifashi record) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public List<Lfdlifashi> selectLfdlifashi() {
		// TODO Auto-generated method stub
		return this.LfdlifashiMapper.selectLfdlifashi();
	}

	@Override
	public List<Lfdlifashi> selectLfdlifashiBySid(Integer sid) {
		// TODO Auto-generated method stub
		return this.LfdlifashiMapper.selectLfdlifashiBySid(sid);
	}

}
